//
//  BackgroundDownloadManager.h
//  MyProject
//
//  Created by yun on 2018/4/23.
//  Copyright © 2018年 yun. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface BackgroundDownloadManager : NSObject

+ (instancetype)sharedBackgroundDownloadManager;

+ (NSURLSession *)backgroundSession;

- (void)startDownloadTaskWithURL:(NSString *)url;

- (void)cancelDownloadTask;

- (void)continueDownloadTaskWithUrl:(NSString *)url;

- (void)checkFileExist:(NSString *)url;

@end
